package com.pk.platform.business.stock.service;

import java.util.List;
import java.util.Map;

import com.pk.platform.business.stock.vo.FetchRecordVO;
import com.pk.platform.business.stock.vo.ImportRecordVO;
import com.pk.platform.business.stock.vo.StockObjVO;
import com.pk.platform.domain.stock.FetchRecord;
import com.pk.platform.domain.stock.ImportRecord;
import com.pk.platform.domain.stock.StockObj;
import com.pk.platform.util.page.ListPage;
import com.pk.platform.util.page.Pager;

public interface IStockService {

	public ListPage queryStockObj(StockObjVO objvo, Pager pager);

	public ListPage queryFetchRecord(FetchRecordVO frvo, Pager pager);

	public ListPage queryImportRecord(ImportRecordVO irvo, Pager pager);
	
	public List<Map<String, Object>> queryStockObjList(String kgId);
	
	public void addStockObj(StockObj so, String whichKinder);

	public void updateStockObj(StockObj so);
	
	public void delStockObj(String[] ids);
	
	public StockObj queryStockObjById(String id);
	
	public String addFetchRecord(FetchRecord fr);

	public String delFetchRecord(String id);
	
	public void addImportRecord(ImportRecord fr);
	
	public String delImportRecord(String id);
	
	public FetchRecord queryFetchRecordById(String id);

	public ImportRecord queryImportRecordById(String id);
	
}
